package com.yjz.middleware.RpcFrameWork;

/**
 * @author :yuanJinZhong
 * @description:服务消费者
 * @date :2018/6/19-14:47
 */
public class RpcConsumer {
  public static void main(String[] args) {
    HelloService service = RpcFramework.refer(HelloService.class, "127.0.0.1", 1234);
    String hello = service.hello(":袁金忠");
    System.out.println(hello);
  }
}
